/*
 * Copyright 2013 Alibaba.com All right reserved. This software is the
 * confidential and proprietary information of Alibaba.com ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Alibaba.com.
 */
package com.yunos.tv.dal.dao;


import java.util.List;

import com.yunos.tv.dal.domain.UserDomain;

/**
 * 类IUserDao.java的实现描述：TODO 类实现描述
 * @author riqi 2013-6-28 下午1:53:27
 */
public interface IUserDao {

    int addUser(UserDomain userDomain);

    int deleteUser(Integer uid);

    int updateUser(UserDomain userDomain);

    UserDomain getUser(Integer uid);

    UserDomain getUserByUsername(String username);

    int getCount();

    int getCount(Integer uid);

    List<UserDomain> getUsers(List<Integer> uids);

}